home *** CD-ROM | disk | FTP | other *** search
- on checkkeypict
- global mode, foreframe, movieName, delaytime, moviepos, movieshow, movieprepos, g_pause, womannum, pict, g_image, scastname
- if the keyCode = 115 then
- puppetSprite(40, 0)
- puppetSprite(39, 0)
- puppetSprite(38, 1)
- set the castNum of sprite 38 to the number of member "enter,on"
- updateStage()
- if objectp(g_image) then
- g_image(mdispose)
- end if
- go(1, "@\..\MAINMENU")
- else
- if (the keyCode = 76) or (the keyCode = 36) then
- puppetSprite(39, 1)
- puppetSprite(38, 0)
- puppetSprite(40, 0)
- set the castNum of sprite 39 to the number of member "return,on"
- updateStage()
- if objectp(g_image) then
- g_image(mdispose)
- end if
- go(1, womannum)
- else
- if the key = TAB then
- puppetSprite(38, 0)
- puppetSprite(39, 0)
- puppetSprite(40, 1)
- set the castNum of sprite 40 to the number of member "tab,on"
- updateStage()
- if movieshow = 0 then
- set movieshow to 1
- set the member of sprite 24 to member (pict + getAt(qtframelist, moviepos)) of castLib scastname
- set the visible of sprite 23 to 1
- set the visible of sprite 24 to 1
- set the visible of sprite 29 to 1
- updateStage()
- else
- set movieshow to 0
- set the visible of sprite 23 to 0
- set the visible of sprite 24 to 0
- set the visible of sprite 29 to 0
- updateStage()
- end if
- set the castNum of sprite 40 to the number of member "tab,off"
- updateStage()
- puppetSprite(40, 0)
- else
- puppetSprite(38, 0)
- puppetSprite(39, 0)
- puppetSprite(40, 0)
- updateStage()
- end if
- end if
- end if
- if the key = "1" then
- set delaytime to 120
- speedshow()
- updateStage()
- end if
- if the key = "2" then
- set delaytime to 60
- speedshow()
- updateStage()
- end if
- if the key = "3" then
- set delaytime to 30
- speedshow()
- updateStage()
- end if
- if the commandDown and (the keyCode = 12) then
- if objectp(g_image) then
- g_image(mdispose)
- end if
- go(1, "@\..\QUIT")
- end if
- end
-
- on cursorcontrol spnum
- global foreframe, mode
- puppetSprite(48, 1)
- set the visible of sprite 48 to 1
- set the ink of sprite 48 to 36
- set the type of sprite 48 to 1
- set the castNum of sprite 48 to the number of member "cursorw"
- cursor(200)
- if rollOver(spnum) then
- cursor(200)
- set the locH of sprite 48 to the mouseH
- set the locV of sprite 48 to the mouseV
- updateStage()
- if the mouseDown then
- set the visible of sprite 48 to 0
- updateStage()
- cursor(-1)
- set the keyDownScript to "checkKeyPict"
- set foreframe to the frame
- speedshow()
- go("help" & mode)
- exit
- end if
- end if
- go(the frame)
- end
-